﻿@model Apps.Models.PUB.PUB_CY_STOCKPILEModel
@using Apps.Web.Core;
@using Apps.Common;
@using Apps.Models.PUB;
@using Apps.Web;
@using Apps.Locale;
@using Apps.Models.Sys;
@{
    ViewBag.Title = "详情";
    Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
    List<permModel> perm = null;
}

<script type="text/javascript">
$(function () {
    $("#btnReturn").click(function () {
         window.parent.frameReturnByClose();
    });
});
</script>
<div class="mvctool bgb">
@Html.HiddenFor(model => model.STOCKPILE_ID)
<table class="formtable">
    <tbody>
        <tr>
            <th>
                @Html.LabelFor(model => model.STOCKPILE_NAME)：
            </th>
            <td>
                @Html.EditorFor(model => model.STOCKPILE_NAME)
            </td>
            <td>@Html.ValidationMessageFor(model => model.STOCKPILE_NAME)</td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(model => model.PARTITION_ID)：
            </th>
            <td>
                @Html.DropDownListFor(model => model.PARTITION_ID, ViewBag.CyPartition as SelectList)
            </td>
            <td>@Html.ValidationMessageFor(model => model.PARTITION_ID)</td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(model => model.BEGIN_HEIGHT)：
            </th>
            <td>
                @Html.EditorFor(model => model.BEGIN_HEIGHT)
            </td>
            <td>@Html.ValidationMessageFor(model => model.BEGIN_HEIGHT)</td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(model => model.END_HEIGHT)：
            </th>
            <td>
                @Html.EditorFor(model => model.END_HEIGHT)
            </td>
            <td>@Html.ValidationMessageFor(model => model.END_HEIGHT)</td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(model => model.BEGIN_WIDTH)：
            </th>
            <td>
                @Html.EditorFor(model => model.BEGIN_WIDTH)
            </td>
            <td>@Html.ValidationMessageFor(model => model.BEGIN_WIDTH)</td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(model => model.END_WIDTH)：
            </th>
            <td>
                @Html.EditorFor(model => model.END_WIDTH)
            </td>
            <td>@Html.ValidationMessageFor(model => model.END_WIDTH)</td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(model => model.BEGIN_LENGTH)：
            </th>
            <td>
                @Html.EditorFor(model => model.BEGIN_LENGTH)
            </td>
            <td>@Html.ValidationMessageFor(model => model.BEGIN_LENGTH)</td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(model => model.END_LENGTH)：
            </th>
            <td>
                @Html.EditorFor(model => model.END_LENGTH)
            </td>
            <td>@Html.ValidationMessageFor(model => model.END_LENGTH)</td>
        </tr>
    </tbody>
</table>

